/*
 * FollowupPromptScreen.java
 *
 * Created on April 18, 2007, 2:40 PM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package Experience.Screens;

import Experience.ExpUI;
import javax.microedition.midlet.MIDlet;

/**
 *
 * @author dmgreen
 */
public class FollowupPromptScreen extends ChoiceScreen {
    
     private MIDlet myMIDlet;
    
    /** Creates a new instance of FollowupPromptScreen */
    public FollowupPromptScreen(MIDlet mid) {
        super(mid, "placeholder", 20, "Later", "OK");
        myMIDlet = mid;
        
        // Brrrrrring Brrrrrrrring !!        
        ((ExpUI) myMIDlet).startRinging();
        setText("It's time to enter your impact blood glucose value. Are you ready? " +
                "Choose \"Later\" to be reminded in five minutes or \"OK\" to proceed.");
    }

    protected void leftPressed() {
        ((ExpUI) myMIDlet).stopRinging();
        ((ExpUI) myMIDlet).notifyFollowupDelay();
    }
    protected void rightPressed() {
        ((ExpUI) myMIDlet).stopRinging();
        ((ExpUI) myMIDlet).notifyNext("");
    }
    
}
